package org.ecloud.base.beetlsql.gen;

public class CodeGen {

	public void execute() {
//		DBStyle style = DbStyleHelper.getDbStyle();
//		SQLLoader loader = new ClasspathLoader();
//		
//		SQLManager sqlManager = new SQLManager(style, loader, cs, new UnderlinedNameConversion(), new Interceptor[]{new DebugInterceptor()});
//		// 或者直接生成java文件
//		GenConfig config = new GenConfig();
//		config.setPreferBigDecimal(false);
//		config.setPreferDate(true);
//		//config.setBaseClass("com.test.User");
//		MapperCodeGen mapper = new MapperCodeGen("com.dao");
//		config.codeGens.add(mapper);
//		sqlManager.genPojoCode("UserRole","com.test",config);
	}
	
}
